Start-Job -Name xacc -ScriptBlock {
	While (1) {
		if ((Get-Process | where {$_.ProcessName -eq 'Xagent'}).length -gt 0) {
			D:\UHome\app\xacc\xacc.exe
			Start-Sleep -s 30
		} else {
			Start-Sleep -s 5
		}
	}
}